package com.atgugu.springcloud.alibaba.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.atgugu.springcloud.entities.CommonResult;

/**
 * @author ZhangXinWang
 * @date 2022/12/25 18:38
 */
public class CustomerBlockHandler {

    public static CommonResult handlerException(BlockException exception) {
        return new CommonResult(4444, "按客户自定义,global handlerException-----1");

    }

    public static CommonResult handlerException2(BlockException exception) {
        return new CommonResult(4444, "按客户自定义,global handlerException-----2");

    }


}
